


//更改用户状态信息
import axios from "axios";
import qs from "qs";
import { Message } from "element-ui";

export const pushComment = (state, comment) => {
    console.log(comment);
    console.log(comment.parentId);
    state.commentDB.push(comment);
    if(comment.parentId!==-1)
    {
        state.commentDB[comment.parentId].replyList.push(comment.id);
    }


}
